package com.gxa.hualianeshop.entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author gxa
 * @since 2023-07-05
 */
@Getter
@Setter
@TableName("tb_empl")
@ApiModel(value = "Empl对象", description = "")
public class Empl implements Serializable {



    @ApiModelProperty("员工编号,自增长的主键")
      @TableId(value = "empl_id", type = IdType.AUTO)
    private Integer emplId;

    @ApiModelProperty("员工姓名")
    @TableField("empl_name")
    private String emplName;

    @ApiModelProperty("员工手机号")
    @TableField("empl_phone")
    private String emplPhone;

    @ApiModelProperty("员工密码")
    @TableField("empl_pwd")
    @JsonIgnore
    private String emplPwd;

    @ApiModelProperty("最后一次登录时间")
    @TableField("last_login")
    private LocalDateTime lastLogin;

    @ApiModelProperty("员工的状态 1:正常 0:冻结")
    @TableField("status")
    @JsonIgnore
    private Integer status;

    @ApiModelProperty("逻辑删除 0:删除 1: 正常")
    @TableField("deleted")
    @JsonIgnore
    private Integer deleted;


}
